class AddHoursEndDate < ActiveRecord::Migration
  def self.up
    add_column :tickets, :hours, :float
    add_column :tickets, :end_date, :date
    add_column :ticket_replies, :hours, :float, :default => 0
  end

  def self.down
    remove_column :tickets, :hours
    remove_column :tickets, :end_date
    remove_column :ticket_replies, :hours
  end
end
